Installation

Follow the steps below to get started with your Site Template:

  1. Unzip the downloaded zip file themeforest-xxxxx.zip folder
  2. Open folder named main-file
  3. Here you will find assets folders of all files
  4. You will need to Upload these files to your Web Server using FTP in order to use it on your Website.
  5. Make sure you upload the required files/folders listed below:
      - Followings are files and sub-folders saved in this folder

    • css - Extra Stylesheets Folder plus Main Stylesheet File
    • images - Images Folder
    • jquery - Javacripts Folder
    • video - Videos Folder
    • .html extension files - main page template File
  6. You will need to Upload these files to your Web Server using FTP in order to use it on your Website and give the paths of files in .html extension files.
  7. You're now good to go..! Start adding your Content and show off your Brand New Beautiful Website in style.

HTML Structure

Home Page Structure

Nairobi follows a simple coding structure. here is the sample:

                  <!DOCTYPE html>
                  <html lang="zxx" dir="ltr">

                  <-- All your metas will be here -->

                  <meta charset="UTF-8">
                  <meta http-equiv="X-UA-Compatible" content="IE=edge">
                  <meta name="viewport" content="width=device-width, initial-scale=1.0">

                  <head>

                  <!-- Your Stylesheets, Title -->
                  ...

                  </head>

                  <body class="hero" onload="onload()">

                  <!-- Page Wrapper -->
                  <div id="site_content"> 


                  <!-- The Preloader Before Site Load -->
                  <div id="preloader">
                  ....
                  </div>


                  <!--  Menu Section -->
                  <div class="menu">
                  ...
                  </div>

                  <!-- Dark Light Mode -->
                  <div class="dark-light-main">
                  ...
                  </div>

                  <!-- Main Page -->
                  <section>
                  <div class="all-page-border active_menus">
                  ...
                  </div>
                  </section>

                  <!-- About Section -->
                  <section class="active_menus overflow-hidden">
                  ...
                  </section>

                  <!-- Play Video Section -->
                  <section>
                  <div class="all-page-border2 overflow-hidden"<
                  ...
                  </div>
                  </section>

                  <!-- Services Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>

                  <!-- Resume Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>

                  <!-- Portfolio Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>

                  <!-- Testomonial Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>

                  <!-- News Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>

                  <!-- FAQ & Pricing Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>

                  <!-- Email Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>

                  <!-- Form Section -->
                  <section">
                  <div class="all-page-border2 "<
                  ...
                  </div>
                  </section>

                  <!-- Footer -->
                  <footer>
                  <div class="all-page-border2 border-bottom-0">
                  ...
                  <!-- Copyrights -->
                  </div>
                  </footer>

                  <!-- Scroll Bottom to Top -->
                  <button class="bottom-top-button">
                  ...
                  </button>
                 
                  <!--  Cusrsor -->
                  <div class="element">
                  ...
                  </div>

                  <!-- Page Wrapper End -->

                  <!-- Your All Scripts will be here ->
                  ...

                  </body>
                  </html>

                

HTML Structure

Colijala Page Structure

Nairobi follows a simple coding structure. here is the sample:

                  <!DOCTYPE html>
                  <html lang="zxx" dir="ltr">

                  <-- All your metas will be here -->

                  <meta charset="UTF-8">
                  <meta http-equiv="X-UA-Compatible" content="IE=edge">
                  <meta name="viewport" content="width=device-width, initial-scale=1.0">

                  <head>

                  <!-- Your Stylesheets, Title -->
                  ...

                  </head>

                  <body class="hero" onload="onload()">

                  <!-- Page Wrapper -->
                  <div id="site_content"> 


                  <!-- The Preloader Before Site Load -->
                  <div id="preloader">
                  ....
                  </div>


                  <!--  Menu Section -->
                  <div class="menu">
                  ...
                  </div>

                  <!-- Dark Light Mode -->
                  <div class="dark-light-main">
                  ...
                  </div>

                  <!-- Main Page -->
                  <section>
                  <div class="all-page-border active_menus">
                  ...
                  </div>
                  </section>

                  <!-- Marquee Section -->
                  <section>
                  <div class="all-page-border2">
                  ...
                  </div>
                  </section>

                  <!-- Challenge Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2">
                  ...
                  </div>
                  </section>

                  <!-- Solution Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>

                  <!-- Services Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>

                  <!-- Testomonial Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>

                  <!-- Email Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>

                  <!-- Form Section -->
                  <section">
                  <div class="all-page-border2 "<
                  ...
                  </div>
                  </section>

                  <!-- Footer -->
                  <footer>
                  <div class="all-page-border2 border-bottom-0">
                  ...
                  <!-- Copyrights -->
                  </div>
                  </footer>

                  <!-- Scroll Bottom to Top -->
                  <button class="bottom-top-button">
                  ...
                  </button>

                  <!--  Cusrsor -->
                  <div class="element">
                  ...
                  </div>

                  <!-- Page Wrapper End -->

                  <!-- Your All Scripts will be here ->
                  ...

                  </body>
                  </html>

                

HTML Structure

News Page Structure

Nairobi follows a simple coding structure. here is the sample:

                  <!DOCTYPE html>
                  <html lang="zxx" dir="ltr">
  
                  <-- All your metas will be here -->
  
                  <meta charset="UTF-8">
                  <meta http-equiv="X-UA-Compatible" content="IE=edge">
                  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
                  <head>
  
                  <!-- Your Stylesheets, Title -->
                  ...
  
                  </head>
  
                  <body class="hero" onload="onload()">
  
                  <!-- Page Wrapper -->
                  <div id="site_content"> 
  
  
                  <!-- The Preloader Before Site Load -->
                  <div id="preloader">
                  ....
                  </div>
  
  
                  <!--  Menu Section -->
                  <div class="menu">
                  ...
                  </div>
  
                  <!-- Dark Light Mode -->
                  <div class="dark-light-main">
                  ...
                  </div>
  
                  <!-- Main Page -->
                  <section>
                  <div class="all-page-border active_menus">
                  ...
                  </div>
                  </section>
  
                  <!-- Testomonial Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>
  
                  <!-- Email Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>
  
                  <!-- Form Section -->
                  <section">
                  <div class="all-page-border2 "<
                  ...
                  </div>
                  </section>
  
                  <!-- Footer -->
                  <footer>
                  <div class="all-page-border2 border-bottom-0">
                  ...
                  <!-- Copyrights -->
                  </div>
                  </footer>
  
                  <!-- Scroll Bottom to Top -->
                  <button class="bottom-top-button">
                  ...
                  </button>

                  <!--  Cusrsor -->
                  <div class="element">
                  ...
                  </div>

                  <!-- Page Wrapper End -->
  
                  <!-- Your All Scripts will be here ->
                  ...
  
                  </body>
                  </html>
  
                

HTML Structure

News Single Page Structure

Nairobi follows a simple coding structure. here is the sample:

                  <!DOCTYPE html>
                  <html lang="zxx" dir="ltr">
    
                  <-- All your metas will be here -->
    
                  <meta charset="UTF-8">
                  <meta http-equiv="X-UA-Compatible" content="IE=edge">
                  <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
                  <head>
    
                  <!-- Your Stylesheets, Title -->
                  ...
    
                  </head>
    
                  <body class="hero" onload="onload()">
    
                  <!-- Page Wrapper -->
                  <div id="site_content"> 
    
    
                  <!-- The Preloader Before Site Load -->
                  <div id="preloader">
                  ....
                  </div>
    
    
                  <!--  Menu Section -->
                  <div class="menu">
                  ...
                  </div>
    
                  <!-- Dark Light Mode -->
                  <div class="dark-light-main">
                  ...
                  </div>
    
                  <!-- Main Page -->
                  <section>
                  <div class="all-page-border active_menus">
                  ...
                  </div>
                  </section>

                  <!-- Second Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>

                  <!-- Thrid Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>
    
                  <!-- Testomonial Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>
    
                  <!-- Email Section -->
                  <section class="overflow-hidden">
                  <div class="all-page-border2"<
                  ...
                  </div>
                  </section>
    
                  <!-- Form Section -->
                  <section">
                  <div class="all-page-border2 "<
                  ...
                  </div>
                  </section>
    
                  <!-- Footer -->
                  <footer>
                  <div class="all-page-border2 border-bottom-0">
                  ...
                  <!-- Copyrights -->
                  </div>
                  </footer>
    
                  <!-- Scroll Bottom to Top -->
                  <button class="bottom-top-button">
                  ...
                  </button>

                  <!--  Cusrsor -->
                  <div class="element">
                  ...
                  </div>

                  <!-- Page Wrapper End -->
    
                  <!-- Your All Scripts will be here ->
                  ...
    
                  </body>
                  </html>
    
                

Favicons

You can add a Favicon to your Website using the following code just bottom to the Stylesheet files links:

<link rel="icon" type="image/x-icon" href="assets/img/white_logo.svg">

Changing Fonts

Change your Fonts from Google Fonts Library directly if you plan to use a Google Font. You can find the Linking to the Font Files in the head tag

<link href="https://fonts.googleapis.com/css2?family=Fascinate&family=Jost:wght@400;500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Fascinate&family=jost&display=swap">

Website Optimization Tips

A Fast & Optimized Website has several factors which needs to be implemented in order to achieve the desired results. There are several Optimization Techniques available which will definitely affect your Website's Performance in a Positive Way & we want to share a few of them with you:

  • Image Compression & Optimization

    We tend to use Lots of Images on our Websites but we often do not make efforts to Compress & Optimize them. Remember, the Larger the Image, the more time it takes to download and therefore this slows your website loading times affecting User Experience. Your customer will leave your website if it does not load within 3-5 Seconds which adversely affects your Sales. Therefore, it is important to Resize, Optimize & Compress your Images before using it on your Website. Here are some Tips which might come handy in optimizing images:

    • Resize your Images: Resize your Images before using it on your Website. Do not just Download an Image & place it as it is in your Website's <img> Tag without resizing it. The size/resolution of the Image matters since it is not recommended to use an Image size of 1200px x 800px in a Content Size of 300px x 200px as this is unnecessary. Resize it to 300px x 200px
    • Image Formats: There are three common file types that are used for web images which are JPEG, GIF, & PNG. For images with a Flat Background use JPEG images, for images with a Transparent background use PNG images and for images with Animations use GIF images.
    • Compressing Images: Images Compression is important as it considerably reduces the size without losing the quality. There are several FREE Image Optimization Tools available to Download.
      For MAC use ImageOptim
      For Windows use Riot for compressing JPEG Images & PNG Gauntlet for PNG Images.
  • CSS & jQuery Minifications

    It is also recommended that you Combine & Minify all your CSS Files to a single CSS File & all Javascript Files to a single JS File since Minification reduces the size of the File and Combining the files helps in reducing the number of HTTP requests made to the server. This is also an Important Factor in increasing the speed of your website. There are several tools available online to Minify your CSS & JS Files. Our recommendations are:
    For CSS use CSS Minifier and For Javascript use Javascript Minifier.

  • Fast Web Hosting Servers

    A lot depends on your Web Hosting Servers, so it is recommended that you choose a Hosting Company/Server that provides a Reliable & a Fast Hosting Service. You can check out some recommended Hosting Services here: http://themeforest.net/get_hosting.

Header

You can choose the headers while creating your Pages. Default Header with a Transparent Background while turns Stickey after a little scrolling &,you can make header without stickey effect for this just remove the .fixed from the header tag. Simply follow the structure below to create the header:

                  <!-- Start Header -->
                  <header class="menu">
                  <div class="logo_main">
                  ...
                  </div>

                  </header>
                  <!-- End Header -->  
                

Mobile Header

Default Menu Style which aligns to the right, You can use the Menu just as

                  <!-- Start Header -->
                  <div class=" wrapper" id="wrapper">
                  ...
                  </div>
                  <!-- End Header -->  
                

Menu Styles

Default Menu Style which aligns to the right, You can use the Menu just as

                  <nav class="nav_item">
                  ...
                  </nav>
                  

Components

Slider Structure

Nairobi refer a simple slider structure.

                <!-- Slider Structure -->
                <section class="active_menus overflow-hidden">
                <div class="testimonial_slider" id="portfolio_horizontal_container" data-aos="fade-up">
                  <div>
                    ...
                  </div>

                  <div>
                    ...
                  </div">
                      
                  <div>
                    ...
                  </div>

                </div>
                </section>
              

Counter

Use the below code to display counter.

                    <!-- Counter Structure -->
                    <div class="digit" id="counter">
                    <h4 class="eight-digit count percent" data-count="8">
                    ...
                    </h4">
                    </div> 
                   
                  

Columns & Grid

Bootstrap Grid

.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-2
.col-md-2
.col-md-2
.col-md-2
.col-md-2
.col-md-2
.col-md-3
.col-md-3
.col-md-3
.col-md-3
.col-md-4
.col-md-4
.col-md-4
.col-md-5
.col-md-5
.col-md-2
.col-md-6
.col-md-6
.col-md-1
.col-md-11
.col-md-2
.col-md-10
.col-md-3
.col-md-9
.col-md-4
.col-md-8
.col-md-5
.col-md-7

Helper Classes

We have created some really useful helper classes for you. Here are a few of them:

  • position-relative & h-100 & w-100 - Width, height, position helper
  • d-none & d-block & d-flex - Display helper
  • text-left & text-center & text-right - Text align helper
  • justify-content-center & justify-content-start & justify-content-end & justify-content-between & align-items-start & align-items-center & align-items-end & flex-column & flex-wrap & flex-1 - Flex helper
  • overflow-hidden - Overflow helper
  • text-uppercase & text-capitalize & text-normal - Text transform helper

Slider Types & their Options

Nairobi includes Sliders are mentioned as follows:

  • Slick slider

    You can find the slick slider-related Documentation here.

    Slick Sliders Docs

Introduction

Azota boasts of a many handy features which are quite powerful, flexible, functional & easy to use. you can do changes in features very easily. Here is the List of features that uses in this website:

  • Sections
  • Container
  • Columns
  • Scrolling
  • Animations
  • Slick Slider
  • Font Awesome 6 Icons
  • Buttons
  • Header
  • Testimonials
  • Hover Effects
  • Move Image On Hover
  • Counter Design
  • Video Design
  • Portfolio Listing Design
  • Price & Plan Section Design
  • Colijala Page Design
  • News Page Design
  • News Single Page Design
  • Responsive Design

Each of the above mentioned features are easily extendable, flexible & easy to use. You can find the sample codes from stylesheet. We are explaining a few of them for your Reference.

Animations

Scroll to reveal Animations are latest in the Trends. You can do them too with Bistro. You can use animations on any element you want. Here is the Sample Code:

                  .singal-text {
                    animation: revolveScale 6s forwards;
                  }  

                  @keyframes revolveScale {
                    60% {
                    transform: translate(20px, 20px) rotate(30deg) scale(.3);
                     }

                    100% {
                    transform: translate(0) rotate(0) scale(1);
                    opacity: 1;
                    }
                  }
                
<div class="" data-aos="zoom-in" ></div>

You can also use delays for your Animations:

<div class="" data-aos-duration="3000" data-aos-delay="300"></div>

Note: Delay Duration is in milliseconds.

Here is the list of the Animation Types you can use:

  • bounce
  • flash
  • pulse
  • rubberBand
  • shake
  • swing
  • tada
  • wobble
  • bounceIn
  • bounceInDown
  • bounceInLeft
  • bounceInRight
  • bounceInUp
  • bounceOut
  • bounceOutDown
  • bounceOutLeft
  • bounceOutRight
  • bounceOutUp
  • fadeIn
  • fadeInDown
  • fadeInDownBig
  • fadeInLeft
  • fadeInLeftBig
  • fadeInRight
  • fadeInRightBig
  • fadeInUp
  • fadeInUpBig
  • fadeOut
  • fadeOutDown
  • fadeOutDownBig
  • fadeOutLeft
  • fadeOutLeftBig
  • fadeOutRight
  • fadeOutRightBig
  • fadeOutUp
  • fadeOutUpBig
  • flip
  • flipInX
  • flipInY
  • flipOutX
  • flipOutY
  • lightSpeedIn
  • lightSpeedOut
  • rotateIn
  • rotateInDownLeft
  • rotateInDownRight
  • rotateInUpLeft
  • rotateInUpRight
  • rotateOut
  • rotateOutDownLeft
  • rotateOutDownRight
  • rotateOutUpLeft
  • rotateOutUpRight
  • hinge
  • rollIn
  • rollOut
  • zoomIn
  • zoomInDown
  • zoomInLeft
  • zoomInRight
  • zoomInUp
  • zoomOut
  • zoomOutDown
  • zoomOutLeft
  • zoomOutRight
  • zoomOutUp